﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace AzureDiagMon.Common.Mvvm
{
    public class CheckableCollection<T> : CheckableCollection
    {
        public CheckableCollection(IEnumerable<T> items)
            : base(items)
        {
        }

        public new IEnumerable<T> CheckedItems
        {
            get { return checkedItems.Cast<T>(); }
            set
            {
                checkedItems = value;
                OnPropertyChanged(new PropertyChangedEventArgs("CheckedItems"));
            }
        }


    }
}
